package com.hc.model.code04.test4;

/**
 * @version v1.0
 * @ClassName: GeneralManager
 * @Description: 总经理类（具体审批对象）
 * @Author: HC
 */
public class GeneralManager extends Handler {

    public GeneralManager() {
        super(Handler.NUM_THREE, Handler.NUM_SEVEN);
    }

    @Override
    protected void handleLeave(LeaveRequest leave) {
        System.out.println(leave.getName() + "请假" + leave.getNum() + "天，原因：" + leave.getContext());
        System.out.println("总经理审批：同意");
    }
}
